package demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 晓星航
 * Date: 2022-11-16
 * Time: 19:20
 */
interface IA1 {
    void funcA();
}
interface IB1 extends IA1{
    void funcB();
}

class C implements IB1 {
    @Override
    public void funcB() {
        System.out.println("adfsf");
    }

    @Override
    public void funcA() {
        System.out.println("asfdfg");
    }
}

public class Test3 {

    public static void main(String[] args) {
        C c = new C();
        c.funcA();
        c.funcB();
    }
}
